<div id="app-container" class="container" myapp="STORE_WECHAT_INFOS_EDIT">
  <%= render 'top_info' %>
  <div class="app">
     <div class="app-inner clearfix">
      <div class="widget-list-filter">
        <%= form_tag ems_store_staff_records_path(@staff), method: 'get' do  %>
          <div class="date nav_item">
            <span>日期</span>
            <input type="text" value="<%= @format_month %>" name="month" style="text-align:center;" class="datePicker">
            <span style="margin-left:20px;">记录类型</span>
            <!-- <input type="text" placeholder="输入员工姓名进行查找" name="name" value="<%= @name %>" class="width-150"> -->
            <select name="type" class="width-150">
              <%= options_from_collection_for_select(StaffRecordType.collection, 'id', 'name', @type) %>
            </select>
            <%= submit_tag "查询", class: "btn query_btn"%>
          </div>
        <% end %>


        <!-- <%= link_to "添加事件", new_ems_store_staff_event_path, class: 'ui-btn ui-btn-success' %> -->
        <p class="help-block error-message flash-notice" style=""> <%= notice %></p>
      </div>
         <table id="wechat_table" class="ui-table ui-table-list">
           <%= render @partial %>
        </table>
      </div>
  </div>

</div>
